#include <iostream>
#include <cstdio>
using namespace std;

float a, b;
int c;
char d;

int main()
{
    cin >> a >> c >> d >> b;
    printf("%c %d %.2f %.2f", d, c, a, b);
    return 0;
}